/**
 *
 * @author 
 *
 */
class FenXiangView extends eui.Component{
    
    private bg:eui.Rect;
    
	public constructor() {
        super();
        this.skinName = "resource/skins/FenxiangSkin.exml";
	}
    public createChildren() {
        super.createChildren();
        this.bg.addEventListener(egret.TouchEvent.TOUCH_TAP,this.closeFenX,this);
    }
    
    private closeFenX(ev:egret.TouchEvent){
        Main.getInstance().removeChild(this);
    }
}
